﻿// HSS.Interlink.UI.FileStates.cs
// ----------------------------------------------------------------------------
// Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.html)
// ----------------------------------------------------------------------------
// HighSpeed-Solutions, LLC
// Copyright (c) 2001-2012
// ----------------------------------------------------------------------------
// File:       FileStates.cs
// Author:     HSS\gbanta
// Created:    12/20/2011
// Modified:   12/20/2011
// ----------------------------------------------------------------------------
namespace HSS.Interlink.UI
{
	#region FileState
	/// <summary>
	/// The enumerator of possible states a given <see cref="UploadFile"/> can be in.
	/// </summary>
	public enum FileState : int
	{
		/// <summary>
		/// The file is ready to be uploaded.
		/// </summary>
		Ready,
		/// <summary>
		/// The file upload process has begun and this file is in queue.
		/// </summary>
		Pending,
		/// <summary>
		/// The file is currently being uploaded.
		/// </summary>
		Uploading,
		/// <summary>
		/// The file has completed the upload process.
		/// </summary>
		Finished,
		/// <summary>
		/// The file failed the upload process and is in an error state.
		/// </summary>
		Error,
		/// <summary>
		/// The file is currently being cancelled.
		/// </summary>
		Canceling,
		/// <summary>
		/// The file has been cancelled.
		/// </summary>
		Canceled,
		/// <summary>
		/// The file has been removed from the list of files to be uploaded.
		/// </summary>
		Removed
	}
	#endregion
}